package com.fjec.paid.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 002.订单支付关联表
 * </p>
 *
 * @author admin
 * @since 2020-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ref_order_payment")
public class RefOrderPayment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单Id
     */
    @TableId("Id")
    private Long id;

    /**
     * 订单支付Id
     */
    @TableField("OrderPayId")
    private Long orderPayId;

    /**
     * 订单支付金额 单位分
     */
    @TableField("Amount")
    private Integer amount;

    /**
     * 是否已同步订单 0=未同步
1=已同步
     */
    @TableField("SyncOrder")
    private Integer syncOrder;

    /**
     * 创建时间
     */
    @TableField("CreateTime")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("UpdateTime")
    private LocalDateTime updateTime;


}
